package electricity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

// 设备列表返回VO
@Data
@Component
public class DeviceVO {
    private Integer id;

    private String deviceCode;

    private String deviceName;

    private Integer typeId;

    private BigDecimal voltageLevel;

    private String location;

    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}

